package com.thientan.export;

/**
 * A special command which doesn't requires any return value.
 * 
 */	
public abstract class VoidCommand implements Command<Void> {

    /**
     * {@inheritDoc}
     */
    @Override
    public final Void execute(Object... args) {
        doExecute(args);
        return null;
    }

    protected abstract void doExecute(Object... args);
}
